<template>
    <div>
      <h1>商品列表,商品id为:{{id}}</h1>
    </div>
</template>

<script>
    export default {
        name: "Product",
      data(){
          return{
            id:this.$route.params.id//接收参数
          }
      }
    }
</script>

<style scoped>

</style>
